export default {
	state:{
		user:uni.getStorageSync('user')
	},
	mutations:{
		user: (state,i) => {
			uni.setStorageSync('user',i)
			state.user = i
		}
	}
}